<div id="amd-user-content" style="display: none;padding:10px;">
    <form class="layui-form" action="" lay-filter="amd-user-form-filter">

        <div class="layui-form-item">
            <label class="layui-form-label required">账号：</label>
            <div class="layui-input-block">
                <input type="hidden" name="id"/>
                <input type="text" name="username" lay-verify="required" placeholder="请填写登录账号……"
                       autocomplete="off"
                       class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">姓名：</label>
            <div class="layui-input-block">
                <input type="text" name="realname" lay-verify="required" placeholder="请填写用户姓名……"
                       autocomplete="off"
                       class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">性别：</label>
            <div class="layui-input-block sex"></div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">手机：</label>
            <div class="layui-input-block">
                <input type="tel" name="phone" lay-verify="phone" placeholder="请填写手机号码……"
                       autocomplete="off"
                       class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">邮箱：</label>
            <div class="layui-input-block">
                <input type="text" name="email" lay-verify="email" placeholder="请填写邮箱地址……"
                       autocomplete="off"
                       class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item" style="text-align: center;">
            <button type="submit" class="layui-btn" lay-submit lay-filter="submit-amd-user-form">
                提交
            </button>
        </div>
    </form>
</div>

<div id="user-role-content" style="display: none;padding:10px;">
    <table id="user-role-table"></table>
</div>